home *** CD-ROM | disk | FTP | other *** search
- Path: news.primenet.com!not-for-mail
- From: kj7bg@primenet.com (Bob White)
- Newsgroups: comp.lang.c++
- Subject: Re: Namespaces
- Date: 11 Mar 1996 09:07:01 -0700
- Organization: Primenet Services for the Internet
- Sender: root@primenet.com
- Message-ID: <4i1j35$6ot@nnrp1.news.primenet.com>
- References: <4hrlim$4b3@newsgate.dircon.co.uk>
- X-Posted-By: ip161.boi.primenet.com
- X-Newsreader: WinVN 0.99.7
- MIME-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
-
- You should be able to define a B by:
- A::B xyz;
- or
- using namespace A;
- B xyz;
- Hopefully, that helps.
- Bob
-
- In article <4hrlim$4b3@newsgate.dircon.co.uk>, gillesp@dircon.co.uk says...
- >
- >I've just tried to incorporate namespaces into my VC4 project
- >and am having some problems.
- >
- >If I have the following in a header file....
- >
- >namespace A
- >{
- >class B
- >{
- >public:
- > B();
- >};
- >}
- >
- >.. what should my cpp file look like?
- >
- >There seem to be a number of different ways to skin the cat all of
- >which, so far, have conflicted with MFC serialization.
- >
- >If you can help please e-mail me.
- >
- >Rob.
- >
-
-